package ${table.package}.service;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import ${table.package}.service.${table.destinationClassName}Manager;
import junit.framework.TestCase;

public class ${table.destinationClassName}ManagerTest extends TestCase {

	private ${table.destinationClassName}Manager ${table.variableName}Manager;

	private ApplicationContext ctx;

	protected void setUp() throws Exception {
		super.setUp();
		ctx = new ClassPathXmlApplicationContext(
				new String[] { "classpath:common-conf.xml","classpath:conf/base/spring/${plugin.moduleName}/applicationContext-${table.destinationClassName}-conf.xml" });
		${table.variableName}Manager = (${table.destinationClassName}Manager) ctx
				.getBean("${table.destinationClassName}Manager");
	}

	protected void tearDown() throws Exception {
		super.tearDown();
		${table.variableName}Manager = null;
		ctx = null;
	}

	public void testXXX(){
		
	}
}